home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group99a.txt
/
000238_icon-group-sender _Mon Dec 6 08:23:20 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id IAA16906
for icon-group-addresses; Mon, 6 Dec 1999 08:23:08 -0700 (MST)
Message-Id: <199912061523.IAA16906@baskerville.CS.Arizona.EDU>
X-Authentication-Warning: agate.berkeley.edu: news set sender to <news> using -f
From: Charles Shirley <cgshirley@worldnet.att.net>
X-Newsgroups: comp.lang.icon
Subject: Low GDI resources while running Win Icon
Date: Sun, 05 Dec 1999 07:35:58 -0700
X-Trace: bgtnsc01.worldnet.att.net 944404552 10692 12.74.0.49 (5 Dec 1999 14:35:52 GMT)
X-Complaints-To: abuse@worldnet.att.net
X-Accept-Language: en
To: icon-group@optima.CS.Arizona.EDU
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
While running a program in Windows Icon 9.3.1 under Windows 98, I was
warned by Norton System Doctor that GDI (Graphics Device Interface)
resources--that is, memory-- were getting low. When I stopped the
program and checked GDI resources, they were 60-70% free. When I
re-started the program and worked with it for a while, resources dropped
until they hit the 20% mark where Norton complained and Win 98 started
responding slowly.
The program uses dialog boxes to do vocabulary tagging. For example, at
every occurrence of "to" in a text, a dialog box displays a segment of
the text and provides buttons to indicate whether "to" is a preposition
or part of an infinitive. The low-GDI warning appears after 200 or so
repetitions.
This behavior seems like a memory leak. Could there be something I am
doing or not doing to cause the problem? For example, might it help to
force a garbage collection every 100-200 repetitions?
Charles Shirley, cgshirley@worldnet.att.net